package ca.uvic.group2.beans;

//import java.io.Serializable;

public class ReceiptBean
{
	private String confirmation;
	private PurchaseOrderBean order;
	private float balance;


	public ReceiptBean(ReceiptBean src) 
	{
		this.confirmation = src.confirmation;
		setOrder(src.order);
		setBalance(src.balance);
	}

	public String getConfirmation() 
	{
		return this.confirmation;
	}
	public void setConfirmation(String confirmation) 
	{
		this.confirmation = confirmation;
	}

	public PurchaseOrderBean getOrder() 
	{
		return this.order;
	}
	public void setOrder(PurchaseOrderBean order) 
	{
		this.order = new PurchaseOrderBean(order);
	}

	public float getBalance() 
	{
		return this.balance;
	}
	public void setBalance(float balance) 
	{
		this.balance = balance;
	}

}